﻿#ifndef DATESTNODEGRAPHICSITEM_H
#define DATESTNODEGRAPHICSITEM_H
#include "DAUtilNodePluginGlobal.h"
#include "DAAbstractNodeGraphicsItem.h"
#include <QtCore/qglobal.h>
#include "DATestNode.h"

/**
 * @brief 测试节点，此节点用于测试，
 */
class DAUTILNODEPLUGIN_API DATestNodeGraphicsItem : public DAAbstractNodeGraphicsItem
{
public:
    DATestNodeGraphicsItem(DATestNode *n, QGraphicsItem *p = nullptr);

public:
    //绘图
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;

    //绘图相关
    QRectF boundingRect() const override;
};

#endif // FCTESTNODEGRAPHICSITEM_H
